package com.day0908;

import java.util.Scanner;

public class Text8 {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        System.out.print("请输入一个值：");
        int index = in.nextInt();
        for(int i = 0; i < index; i ++){
            System.out.println(i + " + " + (index - i) + " = " + index);
        }
    }
}
